package com.example.Mapper;

import com.example.Entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 代理开发模式
 * @version: java version 23
 * @Author: 韩学新
 * @description:
 * @date: 2025-05-18 下午3:13
 */
public interface StudentMapper {

    List<Student> getAllStudent2();

    Student getStudentById(Long id);

    int deleteStudentById(Long id);

    /**
     * 绑定注解
     * @param
     * @return
     */
    List<Student> getStudentByName(@Param("name") String studentName);


    /**
     * 动态条件查询
     */



}
